package com.allwees.bs.c.module.order.dto;

import com.allwees.bs.c.module.order.entity.OrderSkuSnapEntity;
import com.allwees.core.common.util.reflect.PojoUtil;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
//@ApiModel
public class OrderSkuSnapDTO implements Serializable {
	private String orderUuid;

	private String retailerUuid;

	private String storeUuid;

	private String uuid;

	// 商品ID
	private String productUuid;

	private String productName;

	private String productPhoto;

	private String productDesc;

	private String productCategory;

	private String skuUuid;

	private String skuNo;

	private String skuColor;

	private String skuSize;

	// 图片地址，拼接
	private String skuPhoto;

	// 商品原价
	private BigDecimal skuOriginPrice;

	// 商品零售价
	private BigDecimal skuSepPrice;

	private Integer quantity;

	// 商品单价
	private BigDecimal price;

    //订单项金额
    private BigDecimal amt;

    //Sku总价
    private BigDecimal amtSku;

    //运费
    private BigDecimal amtShipping;

    public OrderSkuSnapDTO() {
    }

    public OrderSkuSnapDTO(OrderSkuSnapEntity entity) {
    	this();
    	PojoUtil.copyWithOmit(this, entity, "order");
    }
}
